dm: gpio: introduce 74x164 driver
authorPeng Fan <[email protected]>
Tue, 3 May 2016 02:02:23 +0000 (10:02 +0800)
committerSimon Glass <[email protected]>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commit9300f711baac8a181f70d7f64978e4bbadd4ac5c
treec1ae11e312c903277d9333d0a0fecc4fa80ca3e2
parent7a3eff4ce962de50bd9a1d83a9fce178c04999d3
dm: gpio: introduce 74x164 driver

Introduce driver to support "fairchild,74hc595" devices.
1. Take linux drivers/drivers/gpio/gpio-74x164.c as reference.
2. Following the naming used in Linux driver with gen_7x164 as the prefix.
3. Enable CONFIG_DM_74X164 to use this driver.
4. Follow Documentation/devicetree/bindings/gpio/gpio-74x164.txt to add device
   nodes
5. Tested on i.MX6 UltraLite with 74LV595 using gpio command and oscillograph.

Signed-off-by: Peng Fan <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Chin Liang See <[email protected]>
Cc: Bhuvanchandra DV <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Stefano Babic <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/gpio/74x164_gpio.c [new file with mode: 0644]
drivers/gpio/Kconfig
drivers/gpio/Makefile